package com.beiding.workordersystem.common.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class MPage {
    private int pageSize;
    private int currentPage;
    public IPage toIPage() {
        return new Page(currentPage, pageSize);
    }
}
